package com.wish.housing.service.impl;

import com.wish.housing.entity.TbHouseStyle;
import com.wish.housing.mapper.TbHouseStyleMapper;
import com.wish.housing.service.ITbHouseStyleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 高露雯-集中式房源-房型信息表 服务实现类
 * </p>
 *
 * @author gaoluwen
 * @since 2022-03-30
 */
@Service
public class TbHouseStyleServiceImpl extends ServiceImpl<TbHouseStyleMapper, TbHouseStyle> implements ITbHouseStyleService {

    @Override
    public TbHouseStyle getHouseStyle(String type) {
        return baseMapper.getHouseStyle(type);
    }

    @Override
    public List<TbHouseStyle> getHouseStyleList(String id) {
        return baseMapper.getHouseStyleList(id);
    }
}
